package org.mte.sakn.file;

import java.io.ByteArrayOutputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.OutputStream;

public interface FileObject {
	
	public String getName();
	
	public String getPath();
	
	public String getParent();
	
	public boolean mkdirs();
	
	public boolean mkdir();
	
	public void loadContent() throws FileNotFoundException, IOException;
	
	public ByteArrayOutputStream getContent();
	
	public void setContent(ByteArrayOutputStream content);
	
	public void setContent(String strContent) throws IOException;
	
	public String getContentToString();
	
	public void write() throws IOException;
	
	public void write(String filePath) throws IOException;
	
	public void write(OutputStream outputStream) throws IOException;
	
	public boolean isEmpty();
	

}
